package com.lc.zpyh.http.response;

import java.util.List;

public class SelectCOunpByCanteenIdNewBean {

    /**
     * msg : 操作成功
     * code : 0
     * coupons : [{"couponId":2,"couponName":"测试2","couponsType":"1","meetTheConditions":2,"creditFor":1,"sender":"1","couponStartTime":"2021-06-09 10:28:58","couponOverdueTime":"2021-06-30 10:29:04","couponState":0,"couponEffectiveTime":3,"effectiveRange":"1","count":11},{"couponId":1,"couponName":"测试1","couponsType":"0","meetTheConditions":99,"creditFor":88,"sender":"1","couponStartTime":"2021-06-01 10:16:27","couponOverdueTime":"2021-06-23 10:16:31","couponState":0,"couponEffectiveTime":8,"effectiveRange":"1","count":99}]
     */

    private String msg;
    private Integer code;
    private List<CouponsBean> coupons;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public List<CouponsBean> getCoupons() {
        return coupons;
    }

    public void setCoupons(List<CouponsBean> coupons) {
        this.coupons = coupons;
    }

    public static class CouponsBean {
        /**
         * couponId : 2
         * couponName : 测试2
         * couponsType : 1
         * meetTheConditions : 2.0
         * creditFor : 1.0
         * sender : 1
         * couponStartTime : 2021-06-09 10:28:58
         * couponOverdueTime : 2021-06-30 10:29:04
         * couponState : 0
         * couponEffectiveTime : 3
         * effectiveRange : 1
         * count : 11
         */

        private Integer couponId;
        private String couponName;
        private String couponsType;
        private Double meetTheConditions;
        private Double creditFor;
        private String sender;
        private String couponStartTime;
        private String couponOverdueTime;
        private Integer couponState;
        private Integer couponEffectiveTime;
        private String effectiveRange;
        private Integer count;
        private Integer  getSart;

        public Integer getGetSart() {
            return getSart;
        }

        public void setGetSart(Integer getSart) {
            this.getSart = getSart;
        }

        public Integer getCouponId() {
            return couponId;
        }

        public void setCouponId(Integer couponId) {
            this.couponId = couponId;
        }

        public String getCouponName() {
            return couponName;
        }

        public void setCouponName(String couponName) {
            this.couponName = couponName;
        }

        public String getCouponsType() {
            return couponsType;
        }

        public void setCouponsType(String couponsType) {
            this.couponsType = couponsType;
        }

        public Double getMeetTheConditions() {
            return meetTheConditions;
        }

        public void setMeetTheConditions(Double meetTheConditions) {
            this.meetTheConditions = meetTheConditions;
        }

        public Double getCreditFor() {
            return creditFor;
        }

        public void setCreditFor(Double creditFor) {
            this.creditFor = creditFor;
        }

        public String getSender() {
            return sender;
        }

        public void setSender(String sender) {
            this.sender = sender;
        }

        public String getCouponStartTime() {
            return couponStartTime;
        }

        public void setCouponStartTime(String couponStartTime) {
            this.couponStartTime = couponStartTime;
        }

        public String getCouponOverdueTime() {
            return couponOverdueTime;
        }

        public void setCouponOverdueTime(String couponOverdueTime) {
            this.couponOverdueTime = couponOverdueTime;
        }

        public Integer getCouponState() {
            return couponState;
        }

        public void setCouponState(Integer couponState) {
            this.couponState = couponState;
        }

        public Integer getCouponEffectiveTime() {
            return couponEffectiveTime;
        }

        public void setCouponEffectiveTime(Integer couponEffectiveTime) {
            this.couponEffectiveTime = couponEffectiveTime;
        }

        public String getEffectiveRange() {
            return effectiveRange;
        }

        public void setEffectiveRange(String effectiveRange) {
            this.effectiveRange = effectiveRange;
        }

        public Integer getCount() {
            return count;
        }

        public void setCount(Integer count) {
            this.count = count;
        }
    }
}
